package com.lh.runmanage.dto;

import java.util.List;

/**
 * @author ：梁昊，后端工程师：梁昊
 * @create 2021-07-12 18:01
 * @function
 * @editLog
 */
public final class ProjectDto {
    /**
     * 主键
     */
    private String mainId;
    /**
     * 项目Code（不可重复）
     */
    private String mainCode;
    /**
     * 项目名称
     */
    private String title;

    private boolean expand;

    public ProjectDto() {
        this.expand = true;
    }

    public void setExpand(boolean expand) {
        this.expand = expand;
    }

    public boolean isExpand() {
        return expand;
    }

    public String getMainId(){
        return mainId;
    }

    public void setMainId(String mainId){
        this.mainId = mainId;
    }

    public String getMainCode(){
        return mainCode;
    }

    public void setMainCode(String mainCode){
        this.mainCode = mainCode;
    }

    public String getTitle(){
        return title;
    }

    public void setTitle(String title){
        this.title = title;
    }
    /**
     * 关联外表:vou_menu，一对多；
     */
    private List<Children> childrens;

    public List<Children> getchildren(){
        return childrens;
    }

    public void setChildren(List<Children> childrens){
        this.childrens = childrens;
    }
}
